﻿
@using Single_SignOn.ResX
@model Single_SignOn.Models.UserProfile
<button style="cursor:pointer;height: 30px;background-color: transparent;border: 0;vertical-align: middle;" 
    name="login" type="button" onclick="document.location.href=$('#logingUrl').attr('href')" title=" @ResourceTools.GetResource("Resource", "LogOut") ">
    <img src="~/Images/lock.gif" title=" @ResourceTools.GetResource("Resource", "LogOut") " />
            &nbsp;<label><b>@ResourceTools.GetResource("Resource", "LogOut")</b></label> 
</button>
<a id="logingUrl" href="@Html.AttributeEncode(Url.Action("LogOut", "Login",new { UserInfo = Model.Username }))" style="display:none;"></a>
